// 变量
$baseColor:#ff841d;
// 头部
header {
    height: 50px;
    background-color: $baseColor;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    // 设置子项在侧轴y轴的对齐方式 
    align-items: center;
    .logo {
        width: 185px;
    }
    .download {
        width: 34px;
    }
}

// 搜索
.search {
    height: 50px;
    background-color: #d70;
    padding: 10px;
    position: relative;
    #keywords {
        padding: 0 30px;
        position: absolute;
        top: 40px;
        left: 0px;
        background-color: rgba(255, 255, 255, .5);
        list-style: none;
        width: 500px;
    }
    li {
        line-height: 24px;
    }
    li:hover {
        background-color: rgba(225, 200, 200, .7);
    }
    input {
        width: 100%;
        height: 100%;
        border-radius: 20px;
    }
    button {
        background-color: #ff841d;
        color: #fff;
        position: absolute;
        padding: 15px 14px;
        border-radius: 15px;
        top: 12px;
        right: 9px;
        line-height: 0;
        font-size: 14px;
    }
}

body {
    color: #666;
    background-color: #f2f2f2;
}

// 首页导航
nav {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    a {
        width: 25%;
        padding: 5px 0;
        font-size: 13px;
        img {
            width: 60%;
            margin: 0 auto;
        }
    }
}

// 商品折扣项目
.index_zhek {
    >.index_product {
        >a {
            background-color: #ffffff;
            border-bottom: 1px solid #ccc;
            padding: 10px;
            display: flex;
            font-size: 15px;
            >div:nth-of-type(1) {
                width: 100px;
                height: 100px;
                img {
                    width: 80%;
                }
            }
            .proRight {
                flex: 1;
                display: flex;
                /*  padding: 0 10px; */
                // position: relative;
                flex-direction: column;
                align-content: space-between;
                >div:nth-of-type(1) {
                    height: 60px;
                }
                >div:nth-of-type(2) {
                    display: flex;
                    justify-content: space-between;
                    >span:nth-of-type(2) {
                        padding-right: 10px;
                    }
                }
            }
        }
    }
}

// 单一更多属性
.index_more {
    background-color: #fff;
    display: flex;
    height: 32px;
    line-height: 32px;
    border: 1px solid #ccc;
    font-size: 14px;
    justify-content: center;
    width: 95%;
    border-radius: 10px;
    margin: 10px auto;
}